package com.sky.es.api.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 * @author yangsk
 * 创建文档请求对象
 */
@Data
public class CreateProductDocReuqest{
    @ApiModelProperty(name = "id",value = "商品id")
    private Long id;
    @ApiModelProperty(name = "name",value = "商品名称")
    private String name;
    @ApiModelProperty(name = "desc",value = "商品描述")
    private String desc;
    @ApiModelProperty(name = "price",value = "商品价格")
    private BigDecimal price;
    @ApiModelProperty(name = "type",value = "商品类型")
    private String type;
    @ApiModelProperty(name = "lv",value = "商品级别")
    private String lv;
    @ApiModelProperty(name = "tages",value = "商品标签")
    private List<String> tages;
    @ApiModelProperty(name = "region",value = "地区")
    private String region;
    @ApiModelProperty(name = "longitude",value = "商品经度",required = false)
    private String longitude;
    @ApiModelProperty(name = "latitude",value = "商品纬度",required = false)
    private String latitude;
    //private GeoPoint location;
}
